@extends('layout.app')

@section('title', 'home page')

@section('sidebar')
    @parent
    <p>this text is append to sidebar</p>
@endsection

@section('content')
    <div class="container">
        @if (Route::has('login'))
            <div class="top-right links">
                @auth
                    <a href="{{ url('/home') }}">Home</a>
                @else
                    <a href="{{ route('login') }}">Login</a>

                    @if (Route::has('register'))
                        <a href="{{ route('register') }}">Register</a>
                    @endif
                @endauth
            </div>
        @endif

        <div class="content">
            <article>
                <p>{{$country}}</p>
                <p>{{$ip}}</p>
                <p>{{$language}}</p>
                <p>{{$payment}}</p>
            </article>

        </div>
    </div>
@endsection

